import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {GooBrandRecommendGoodsComponent} from './goo-brand-recommend-goods.component';

const routes: Routes = [
    {
        path: '', component: GooBrandRecommendGoodsComponent,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {
                path: 'add',
                loadChildren: './add-goo-brand-recommend-goods/add-goo-brand-recommend-goods.module#AddGooBrandRecommendGoodsModule'
            },
            {
                path: 'list',
                loadChildren: './list-goo-brand-recommend-goods/list-goo-brand-recommend-goods.module#ListGooBrandRecommendGoodsModule'
            },
            {
                path: 'modify',
                loadChildren: './modify-goo-brand-recommend-goods/modify-goo-brand-recommend-goods.module#ModifyGooBrandRecommendGoodsModule'
            },
            {
                path: 'report',
                loadChildren: './report-goo-brand-recommend-goods/report-goo-brand-recommend-goods.module#ReportGooBrandRecommendGoodsModule'
            },
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class GooBrandRecommendGoodsRoutingModule {
}
